package server;

import global.Global;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import server.jobs.*;
import utils.ClassRegistry;

public class Initialize extends HttpServlet {

	public Initialize()
	{
		super();
	}
	
	private volatile static ServletConfig servletConfig = null;
	
	public void init(ServletConfig config) throws ServletException
	{
		servletConfig = config;
		ClassRegistry.initialize();
		//ListingsJob ljob = new ListingsJob();
		//ljob.getFullPull();
		
		//PricesJob pricesjob = new PricesJob();
		//pricesjob.initializeScheduler();
	}
	
	public static String appURL() {
		//return "http://listingsconnection.com";
		return "http://173.174.75.85";
	}
	
	
}
